Skip to content

Remove dead code and fix f-string issue#7720

Merged
yiyixuxu merged 5 commits into
huggingface:mainfrom
tolgacangoz:fix-vulture
May 8, 2024
Merged

Remove dead code and fix f-string issue#7720
yiyixuxu merged 5 commits into
huggingface:mainfrom
tolgacangoz:fix-vulture

Conversation

@tolgacangoz

@tolgacangoz tolgacangoz commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

Vulture's suggestions.
This pull request removes dead code and fixes an issue with f-strings in Python<3.12.
@sayakpaul @yiyixuxu @DN6

@tolgacangoz
tolgacangoz marked this pull request as ready for review April 19, 2024 11:07
Comment thread src/diffusers/image_processor.py

@yiyixuxu yiyixuxu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu
yiyixuxu merged commit c1c4269 into huggingface:main May 8, 2024
@tolgacangoz

Copy link
Copy Markdown
Contributor Author

Thanks for merging!

@tolgacangoz
tolgacangoz deleted the fix-vulture branch May 9, 2024 06:42
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
* Remove dead code

* PylancereportGeneralTypeIssues: Strings nested within an f-string cannot use the same quote character as the f-string prior to Python 3.12.

* Remove dead code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants